from django.contrib import admin
from intr.blog.models import *

class BlogPostAdmin(admin.ModelAdmin):
	prepopulated_fields = {'slug':('title',),}
	
	class Media:
		js = ('/static/admin/tiny_mce/tiny_mce.js',
		'/static/admin/tinymce_setup.js',)

admin.site.register(BlogPost, BlogPostAdmin)
